* {
  margin: 0px;
  padding: 0px;
}

.main {
  height: 100vh;
  width: 100%;
  background: linear-gradient(125deg,#2c3e50,#27ae60,#2980b9,#e74c3c,#8e44ad);
  background-size: 500%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bgAnimation 15s linear infinite;
  overflow: hidden;
}

@keyframes bgAnimation {
    0%{
        background-position: 0% 50%;
    }
    50%{
        background-position: 100% 50%;
    }
    100%{
        background-position: 0% 50%;
    }
}

.login-box {
  display: flex;
  justify-content: space-between;
  width: 56%;
  height: 685px;
  background-color: #fff;
  box-shadow: -18px -18px 30px rgb(0 0 0 / 10%), 18px 18px 30px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  position: relative;
}

.login {
  width: 48%;
  left: 5%;
  top: -10%;
  height: 850px;
  display: flex;
  flex-flow: column;
  flex-basis: 20%;
  align-items: center;
  border-radius: 20px;
  position: absolute;
  background-color: #002EA6;
  box-shadow: -10px -10px 30px rgb(0 0 0 / 10%), 10px 10px 30px rgba(100, 100, 100, 0.4);
  overflow: hidden;
}

.login-title {
  width: 367px;
  height: 62px;
  text-align: center;
  line-height: 62px;
  color: white;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 10px;
  margin-top: 200px;
}

.login-btn {
  width: 320px;
  height: 48px;
  margin-top: 40px;
  text-align: center;
  line-height: 48px;
  color: black;
  font-weight: 700;
  background-color: #fff;
  border-radius: 10px;
  border: none;
}

.username-input {
  width: 320px;
  height: 48px;
  margin-top: 30px;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #ffe76f;
  background-color: rgba(0, 0, 0, 0);
}

.userpwd-input {
  width: 320px;
  height: 48px;
  margin-top: 30px;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #ffe76f;
  background-color: rgba(0, 0, 0, 0);
}

input::placeholder {
  color: #ffe76f;
  font-size: 20px;
}

input:focus {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #ffe76f;
  outline: none;
  color: #ffe76f;
  font-size: 20px;
}

input {
  color: #ffe76f;
  font-size: 20px;
}

.goToLogin {
  width: 48%;
  margin-left: 5%;
  height: 100%;
  display: flex;
  flex-flow: column;
  flex-basis: 20%;
  align-items: center;
  border-radius: 20px;
}

.goToLogin-title{
  width: 367px;
  height: 62px;
  text-align: center;
  line-height: 62px;
  color: #999;
  font-size: 40px;
  font-weight: 700;
  margin-top: 135px;
}

.had-account {
  font-size: 20px;
  font-weight: 700;
}

.register {
  width: 48%;
  right: 5%;
  top: -10%;
  height: 850px;
  display: flex;
  flex-flow: column;
  flex-basis: 20%;
  align-items: center;
  border-radius: 20px;
  position: absolute;
  background-color: #002EA6;
  box-shadow: -10px -10px 30px rgb(0 0 0 / 10%), 10px 10px 30px rgba(100, 100, 100, 0.4);
  visibility: hidden;
  overflow: hidden;
}

.register-title {
  width: 367px;
  height: 62px;
  text-align: center;
  line-height: 62px;
  color: white;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 10px;
  margin-top: 110px;
  margin-bottom: 20px;
}

.register-btn {
  width: 320px;
  height: 48px;
  margin-top: 60px;
  text-align: center;
  line-height: 48px;
  color: black;
  font-weight: 700;
  background-color: #fff;
  border-radius: 10px;
  border: none;
}

.goToRegister {
  width: 48%;
  margin-right: 5%;
  height: 100%;
  display: flex;
  flex-flow: column;
  flex-basis: 20%;
  align-items: center;
  border-radius: 20px;
}

.goToRegister-title {
  width: 367px;
  height: 62px;
  text-align: center;
  line-height: 62px;
  color: #999;
  font-size: 40px;
  font-weight: 700;
  margin-top: 135px;
}

.login-form, .register-form {
  display: flex;
  flex-flow: column;
  align-items: center;
}
.circle {
  position: absolute;
}

.square {
  position: absolute;
}

.login-box ul li{
  position: absolute;
  border: 2px solid #2f90b9;
  /* background-color: rgb(60, 0, 255); */
  width: 20px;
  height: 20px;
  list-style: none;
  opacity: 0;
  z-index: 0;
}
.square li{
  top: 60vh;
  left: 30vw;
  /* 执行动画：动画名 时长 线性的 无限次播放 */
  animation: square 10s linear infinite;
}
/* .square li:nth-child(2){
  top: 50vh;
  left: 10vw;
  animation-delay: 2s;
} */
.square li:nth-child(3){
  top: 50vh;
  left: 15vw;
  /* 设置动画延迟时间 */
  animation-delay: 4s;
}
.square li:nth-child(4){
  top: 10vh;
  left: 40vw;
  /* 设置动画延迟时间 */
  animation-delay: 6s;
}
.square li:nth-child(5){
  top: 10vh;
  left: 10vw;
  /* 设置动画延迟时间 */
  animation-delay: 8s;
}
/* .circle li{
  bottom: 0;
  left: 15vw;
  animation: circle 10s linear infinite;
} */
.circle li:nth-child(2){
  left: 35vw;
  /* 设置动画延迟时间 */
  animation-delay: 2s;
}
.circle li:nth-child(3){
  left: 45vw;
  /* 设置动画延迟时间 */
  animation-delay: 6s;
}
/* .circle li:nth-child(4){
  left: 20vw;
  animation-delay: 4s;
} */
.circle li:nth-child(5){
  left: 25vw;
  /* 设置动画延迟时间 */
  animation-delay: 8s;
}

/* 定义动画 */
@keyframes square {
  0%{
      transform: scale(0) rotateY(0deg);
      opacity: 1;
  }
  100%{
      transform: scale(5) rotateY(1000deg);
      opacity: 0;
  }
}
@keyframes circle {
  0%{
      transform: scale(0) rotateY(0deg);
      opacity: 1;
      bottom: 0;
      border-radius: 0;
  }
  100%{
      transform: scale(5) rotateY(1000deg);
      opacity: 0;
      bottom: 60vh;
      border-radius: 50%;
  }
}


